package com.dq.controller.op.opmerchant.in.request;

import com.dq.domain.base.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @创建人 gewenzhen
 * @创建时间 2019/9/25
 * @描述
 */
@Data
@ApiModel("产品请求结构")
public class ProductRequest extends AbstractEntity {
    @ApiModelProperty(value = "商品规格ids,以,号分割")
    public List<GoodSpecificationRequest> goodSpecificationListVo;
    @ApiModelProperty("序列码")
    public String identifier;
    @ApiModelProperty(value = "市场价")
    public BigDecimal marketPrice;
    @ApiModelProperty(value = "成本价")
    public BigDecimal costPrice;
    @ApiModelProperty(value = "购买价格")
    public BigDecimal price;
    @ApiModelProperty(value = "库存")
    public Long goodsNumber;
    @ApiModelProperty("商品id")
    public Long goodId;
}
